﻿using System.ComponentModel.DataAnnotations;

namespace Brc_PaaS.Common.Model.Account
{
    public class RegisterAccountDto
    {
        /// <summary>
        /// 登陆名称
        /// </summary>
        [Required(ErrorMessage ="请输入登录名称")]
        [MaxLength(100,ErrorMessage ="长度不能超过100")]
        public string LoginName { get; set; }
        /// <summary>
        /// 密码
        /// </summary>
        [Required(ErrorMessage ="请输入密码")]
        public string Passwords { get; set; }
        /// <summary>
        /// 真实名称
        /// </summary>
        [Required(ErrorMessage ="请输入真实名称")]
        public string RealName { get; set; }
        /// <summary>
        /// 注册手机号
        /// </summary>
        public string Tel { get; set; }
    }
}
